<div class="maintop">
	当前位置：编辑银行
	<a href="javascript:;" action="<?=$basepath?>" class="mainFrame button">返回</a>
	<a href="javascript:;" action="<?=$basepath?>_edit?id=<?=$data['id']?>" class="mainFrame button">刷新</a>
</div>
<div id="mainbody">
    <div class="main">
        <form name="add_save" action="<?=$basepath?>_edit_save" method="POST" target="ajax" func="form_submit">
            <input type="hidden" name="id" value="<?=$data['id']?>" />
            <div style="display:none;" class="hiddencontentdiv"><textarea id="hiddencontent" name="hiddencontent"></textarea></div>
            <? $this->display('editor',array('textareaid'=>'hiddencontent','uploadbutton'=>'uploadbutton','inputid'=>'logo','loadjsandcss'=>true)); ?>
		    <div class="info">
                <div id="infos1">
                    <dl><dt>编码：</dt><dd><input type="text" name="code" class="int" value="<?=$data['code']?>" /></dd></dl>
					<dl><dt>名称：</dt><dd><input type="text" name="title" class="int" value="<?=$data['title']?>" /></dd></dl>
                    <dl><dt>电话：</dt><dd><input type="text" name="tel" class="int"  value="<?=$data['tel']?>" /></dd><dd class="t">搜索关键字以“,”分隔</dd></dl>
                    <dl><dt>图标：</dt><dd><input type="text" name="logo" id="logo" class="wtxt"  value="<?=$data['logo']?>" /></dd><dd><input type="button" name="uploadbutton" id="uploadbutton" value="选择" /></dd></dl>
                    <dl><dt>网址：</dt><dd><input type="text" name="url" class="wtxt" value="#" /></dd></dl>
                    <dl><dt>状态：</dt><dd><select name="state">
                                <option value="0"<?=(intval($data['state'])==0 ? ' selected="selected"' : '')?>>禁用</option>
                                <option value="1"<?=(intval($data['state'])==1 ? ' selected="selected"' : '')?>>启用</option>
                            </select></dd></dl>

                    <dl><dt>排序：</dt><dd><input type="number" name="sort" class="int" value="<?=$data['sort']?>" /></dd><dd class="t">按5,4,3,2,1的倒序排序</dd></dl>
                    <dl><dt>&nbsp;</dt>
                    <dd>
                        <input type="submit" value="确认" class="btnbig" />
                        <a href="javascript:;" action="<?=$basepath?>" class="mainFrame btnbig">返回</a>
                    </dd></dl>
                </div>
		    </div>

        </form>
	</div>
</div>
